package com.sansan.qiangji.mapper.device;

import com.sansan.qiangji.entity.device.Belt;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface BeltMapper {
    List<Belt> findAllBelt();
    int updateBelt(Belt belt);
    int updateBelts(@Param("belts")List<Belt> belts);
    int addBelt(Belt belt);
    List<Belt> findByBeltName(@Param("beltName")String beltName);
    List<Belt> findByStackerName(@Param("stackerName")String stackerName);
    Belt findByBeltId(@Param("beltId")Integer beltId);
    int deleteById(@Param("beltId")Integer beltId);
}
